BeetleTracking\Controller\WooCommerceController S

Total Complexity 49
Dependencies 5
Dependents 1
Total lines 263
Lines of code 203
Logical lines of code 100
Comment lines 2
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
setup_static_events()
A
50 14 27
setup_product_data()
A
48 9 35
setup_cart_content()
S
52 6 27
setup_purchase_event()
S
54 6 22
setup_checkout_page_event()
S
49 5 31
__construct()
S
62 3 11
setup_product_category_event()
S
53 2 22
setup_product_page_event()
S
58 1 16
setup_loop_product_data()
S
77 1 4
setup_add_to_cart_product_data()
S
77 1 4
setup_blocks_product_data()
S
77 1 4